public class Test {
    private static String classe="105java";
    private String name ;
    private String age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public Test(String name, String age) {
        this.name = name;
        this.age = age;
    }

    public Test() {

    }

    public static  void fin( ){
        Test test =new Test();
        test.setAge("18");
        test.setName("年后");

        System.out.println("姓名="+test.name+"年龄="+test.age+"班级="+classe);
    }


    public static void main(String[] args) {
//        Test test=new Test("王新雨","22");
//        test.fin();
//        Test test1=new Test("wwww","23");
//        test1.fin();
        Test.fin();



    }
}
